package com.verisette.ncos.persistence.dao;

import java.util.List;

import org.corp.agi.common.bean.PagingBean;
import org.corp.agi.persistence.dao.CommonDAO;
import org.corp.agi.service.bean.UserBean;

import com.verisette.ncos.persistence.domain.CustomMasterObjectAuthByUsg;
import com.verisette.ncos.persistence.domain.MasterObject;
import com.verisette.ncos.persistence.domain.MasterUserGroup;

/**
 * {Description here}
 *
 * @author Thippawan Muangchu (Tip)
 * @since Apr 2, 2010 3:33:09 PM
 * @version 1.0.0
 * @see 
 */
public interface UserGroupAuthorizationDAO extends CommonDAO {
	
	public List <MasterUserGroup> loadUserGroup();
	public int getAuthListByGroupTotal(MasterUserGroup userGroupBean);
	public List <CustomMasterObjectAuthByUsg> getAuthListByGroup(MasterUserGroup userGroupBean, PagingBean paging);
	public List <MasterObject> getObjListAll(PagingBean paging);
	public void updateUserGroup(CustomMasterObjectAuthByUsg customMasterObjectAuthByUsg, UserBean user);
	public void insertUserGroup(CustomMasterObjectAuthByUsg customMasterObjectAuthByUsg, UserBean user);
	public int findMaxOagId();
	
}
